#ifndef MAPOBJECT_H_
#define MAPOBJECT_H_
#include<stdlib.h>
#include<stdio.h>
#include "../baseclass/Elem3D.h"
#include "../spec/TargetObject.h"
#include<ctime>


class MapObject :public Elem3D
{
public:
	MapObject();
	virtual ~MapObject();
    bool write_enabled;
    time_t tempo;
    bool visible;
    
    //nomi display list
    static int posit_name;
    static int pos_name;
    static int write_name;
    static int map_name;
    static int pos_tar_name;
    static int score_name;
    static bool compiled;
    
    
    int score; 
    
    MapObject(GameStatus* g): Elem3D(g){}
    void LoadLists();
    void DoIdle();
    void Init();
    void Draw();
    void AddPoints(int num){score += num;};
};

#endif /*MAPOBJECT_H_*/
